package com.example.dsplatform.pojo.Entity.Unuse;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("Teacher")
public class Teacher {
    @TableId(value = "TNO", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "TNAME")
    private String name;
    @TableField(value = "TCARDNO")
    private String idCardNo;
    @TableField(value = "TPHNO")
    private String phoneNo;
    @TableField(value = "TSEX")
    private String sex;
    @TableField(value = "TYEARS")
    private Integer years;

}
